#ifndef WTABLE_H
#define WTABLE_H

#include "../../../abstract/abstractdata.h"

#include <QWidget>
#include <QList>
#include <QTableView>

class WTable : public QWidget
{
    Q_OBJECT
public:
    WTable(QWidget *parent = 0);
    virtual QString getPath() = 0;
    virtual void setList(QList<AbstractData *> &lToShow) = 0;
protected:
    QTableView *tableView;
signals:
    void navigateToAlbums(QList<AbstractData *> &);
    void navigateToTracks(QList<AbstractData *> &);
    void navigateToGenres(QList<AbstractData *> &);
    void navigateToArtists(QList<AbstractData *> &);
};

#endif // WTABLE_H
